package com.neusoft.neuiotms.dcam.constant;

public class DCAMConsts {
    /** 常量code,text分隔符 */
    public static final String DICTIONARY_SPLITOR = "_";
    /** 导出模板校验 **/
    public static final int[] ASSET_EXPORT_CONSTRAINT_KJ = {
            //            DCAMConsts.ASSET_CONSTRAINT_USER_COL_KJ,
            //            DCAMConsts.ASSET_CONSTRAINT_ORG_COL_KJ,
            DCAMConsts.ASSET_CONSTRAINT_LOCATION_COL,
            DCAMConsts.ASSET_CONSTRAINT_STATUS_COL_KJ };
    public static final int[] ASSET_EXPORT_CONSTRAINT_SL = {
            //            DCAMConsts.ASSET_CONSTRAINT_USER_COL_SL,
            //            DCAMConsts.ASSET_CONSTRAINT_ORG_COL_SL,
            10,
            DCAMConsts.ASSET_CONSTRAINT_STATUS_COL_SL };
    /** 资产模板导出添加下拉框默认最大行数 */
    public static final Integer ASSET_CONSTRAINT_ROW = 65535;
    /** 资产模板导出添加下拉框默认开始行数 */
    public static final Integer ASSET_START_CONSTRAINT_ROW = 2;
    /** 资产模板导出添加下拉框默认位置列 */
    public static final int ASSET_CONSTRAINT_LOCATION_COL = 12;
    /** 资产模板导出添加下拉框默认合同列 */
    public static final int ASSET_CONSTRAINT_CONTRACT_COL = 16;
    /** 资产模板导出添加下拉框默认类型列 */
    public static final int ASSET_CONSTRAINT_ASSETTYPE_COL_KJ_1 = 13;
    /** 资产模板导出添加下拉框默认类型列 */
    public static final int ASSET_CONSTRAINT_ASSETTYPE_COL_KJ_2 = 14;
    /** 资产模板导出添加下拉框默认类型列 */
    public static final int ASSET_CONSTRAINT_ASSETTYPE_COL_KJ = 15;

    /** 资产模板导出添加下拉框默认类型列 */
    public static final int ASSET_CONSTRAINT_ASSETTYPE_COL_SL_1 = 11;
    /** 资产模板导出添加下拉框默认类型列 */
    public static final int ASSET_CONSTRAINT_ASSETTYPE_COL_SL_2 = 12;
    /** 资产模板导出添加下拉框默认类型列 */
    public static final int ASSET_CONSTRAINT_ASSETTYPE_COL_SL = 13;

    /** 资产模板导出添加下拉框默认供应商列 */
    public static final int ASSET_CONSTRAINT_MANUFACTOR_COL = 5;
    /** 资产模板导出添加下拉框使用部门列 */
    public static final int ASSET_CONSTRAINT_ORG_COL_KJ = 21;
    /** 资产模板导出添加下拉使用人列 */
    public static final int ASSET_CONSTRAINT_USER_COL_KJ = 22;
    /** 资产模板导出添加下拉框使用部门列 */
    public static final int ASSET_CONSTRAINT_ORG_COL_SL = 19;
    /** 资产模板导出添加下拉使用人列 */
    public static final int ASSET_CONSTRAINT_USER_COL_SL = 20;
    /** 资产模板导出添加下拉框产品型号列 */
    public static final int ASSET_CONSTRAINT_PRODUCT_COL = 6;
    /** 资产模板导出添加下拉框-状态 */
    public static final int ASSET_CONSTRAINT_STATUS_COL_KJ = 25;
    /** 资产模板导出添加下拉框-状态 */
    public static final int ASSET_CONSTRAINT_STATUS_COL_SL = 23;

    /** 资产来源 **/
    public static final String ASSET_SOURCE = "assetSource";
    /** 资产状态 **/
    public static final String ASSET_STATUS = "assetStatus";
    /** 资产导出报表名称 */
    public static final String ASSET_EXCEL_NAME = "资产导出报表";
    /** 通知类型 系统通知 */
    public static final String INFORM_TYPE_NOTICE = "notice";
    /** 通知类型 短信通知 */
    public static final String INFORM_TYPE_MESSAGE = "message";
    /** 通知类型 邮件通知 */
    public static final String INFORM_TYPE_MAIL = "email";
    /** 通知类型 电话通知 */
    public static final String INFORM_TYPE_PHONE = "phone";
    /** 通知类型 微信通知 */
    public static final String INFORM_TYPE_WECHAT = "wechat";
    /** 逗号分隔符 */
    public static final String COMMA_SPILT = ",";
    /** 盘点计划号编码 */
    public static final String INVENTORY_PLAN_CODE = "PD_CODE";
    /** 盘点任务号编码 */
    public static final String INVENTORY_DUTY_CODE = "DU_CODE";
    /** 资产规则编码 */
    public static final String ASSET_CODE_RULE = "ASSET_CODE";

    /** 资产模板导出添加下拉框默认类型列 */
    public static final Integer BORROW_CONSTRAINT_ASSETTYPE_COL = 0;
    public static final Integer BORROW_CONSTRAINT_LOCATIONCODE_COL = 4;
    public static final String BORROW_ASSET_TYPE = "assetTypeCode";
    public static final String BORROW_LOCATION_CODE = "locationCode";
    public static final String DISPOSE_STATUS = "disposeStatus";
    public static final String REPAIR_STATUS = "repairStatus";
    public static final String STOCK_BACK_STATUS = "stockStatus";
    public static final String CHANGE_USER_NAME = "changeUserName";
    public static final String[] BORROW_EXPORT_CONSTANT = {DCAMConsts.BORROW_ASSET_TYPE,
            DCAMConsts.BORROW_LOCATION_CODE, DCAMConsts.DISPOSE_STATUS, DCAMConsts.REPAIR_STATUS,
            DCAMConsts.STOCK_BACK_STATUS, DCAMConsts.CHANGE_USER_NAME
    };

    /** 工单状态 **/
    public static final String WORKORDER_STATUS = "workorderStatus";

    /* 导出合同明细 **/
    public static final int CONTRACT_ITEM_START_ROW = 2;
    public static final int CONTRACT_ITEM_ROW = 65535;
    public static final String CONTRACT_ITEM_ASSET_TYPE = "assetTypeName";
    public static final Integer CONTRACT_ITEM_CONSTRAINT_ASSET_TYPE_COL = 0;
    public static final String[] CONTRACT_ITEM_EXPORT_CONSTANT = {DCAMConsts.CONTRACT_ITEM_ASSET_TYPE
    };

    /* 导出到货验收资产明细 */
    public static final int ARRIVAL_ASSET_DETAIL_CONSTANT_START_ROW = 2;
    public static final int ARRIVAL_ASSET_DETAIL_CONSTANT_MAX_ROW = 65535;
    public static final String ARRIVAL_ASSET_DETAIL_CONSTANT_LOCATION = "location";
    public static final String ARRIVAL_ASSET_DETAIL_CONSTANT_MAINTENANCE_USERNAME = "maintenanceUsername";
    public static final String ARRIVAL_ASSET_DETAIL_CONSTANT_MANUFACTURER = "manufacturerName";
    public static final String[] ARRIVAL_ASSET_DETAIL_CONSTANTS = {
            DCAMConsts.ARRIVAL_ASSET_DETAIL_CONSTANT_LOCATION,
            DCAMConsts.ARRIVAL_ASSET_DETAIL_CONSTANT_MAINTENANCE_USERNAME,
            DCAMConsts.ARRIVAL_ASSET_DETAIL_CONSTANT_MANUFACTURER
    };
    public static final Integer ARRIVAL_DETAIL_CONSTRAINT_LOCATION_COL = 7;
    public static final Integer ARRIVAL_DETAIL_CONSTRAINT_MAINTENANCE_USER_COL = 10;
    public static final Integer ARRIVAL_DETAIL_CONSTRAINT_MANUFACTURE_COL = 11;

    /** 需求导入 */
    public static final int RECIPIENT_REQUIRE_CONSTANT_START_ROW = 2;
    public static final int RECIPIENT_REQUIRE_CONSTANT_MAX_ROW = 65535;
    public static final String[] RECIPIENT_REQUIRE_CONSTANTS = {
            DCAMConsts.RECIPIENT_REQUIRE_CONSTANT_ASSET_TYPE
    };
    public static final String RECIPIENT_REQUIRE_CONSTANT_ASSET_TYPE = "assetTypeCode";
    public static final Integer RECIPIENT_REQUIRE_CONSTANT_ASSET_TYPE_COL = 0;

    /*** 更新使用人 ***/
    public static final int RECIPIENT_ASSET_USER_UPDATE_START_ROW = 2;
    public static final int RECIPIENT_ASSET_USER_UPDATE_MAX_ROW = 65535;
    public static final String RECIPIENT_ASSET_USER_UPDATE_LOCAL = "location";
    public static final Integer RECIPIENT_ASSET_USER_UPDATE_LOCAL_COL = 7;
    public static final String[] RECIPIENT_ASSET_USER_UPDATE_CONSTANTS = {
            DCAMConsts.RECIPIENT_ASSET_USER_UPDATE_LOCAL,
            DCAMConsts.RECIPIENT_ASSET_USER_UPDATE_USERNAME
    };
    public static final String RECIPIENT_ASSET_USER_UPDATE_USERNAME = "userName";
    public static final Integer RECIPIENT_ASSET_USER_UPDATE_USERNAME_COL = 6;

    /** 审批状态 **/
    public static final String WORKFLOW_PROCESS_APPROVE_REJECT = "REJECT";
    public static final String WORKFLOW_PROCESS_APPROVE_PASS = "PASS";
    public static final String WORKFLOW_PROCESS_NAME_ALLOCATION = "allocatesupplies";
    public static final String WORKFLOW_PROCESS_NAME_ALLOCATION_DTO = "allocatesuppliesdto";

    /** root 字符串 */
    public static final String ROOT_STR = "root";
    public static final String PROCESSS_DISPATCHUSERLIST = "dispatchUserList";
    /********************************
     * 安徽农信科技公司的物资入库流程变量
     ********************************/
    public static final String PROCESSS_ARRIVAL_KEY = "arrival";
    public static final String PROCESSS_DZ_ARRIVAL_KEY = "RukuDZKJ";
    public static final String PROCESSS_APPROVE_RESULT = "result";

    /********************************
     * 安徽农信科技公司的物资退库流程变量
     ********************************/
    public static final String PROCESSS_TUIKU_KJ_KEY = "TuikuKJ";
    public static final String PROCESSS_TUIKU_KJ_APPROVE_RESULT = "result";

    /********************************
     * 安徽农信科技公司的物资报废流程变量
     ********************************/
    public static final String PROCESSS_BAOFEI_KJ_KEY = "BaofeiKJ";
    public static final String PROCESSS_BAOFEI_KJ_APPROVE_RESULT = "result";
    public static final String PROCESSS_BAOFEI_KJ_WZQR_USER_KEY = "confirmUser";

    /********************************
     * 安徽农信科技公司的物资维修流程变量
     ********************************/
    public static final String PROCESSS_WEIXIU_KJ_KEY = "WeixiuKJ";
    public static final String PROCESSS_WEIXIU_KJ_APPROVE_RESULT = "result";

    /********************************
     * 安徽农信科技公司的物调拨修流程变量
     ********************************/
    public static final String PROCESSS_DIAOBO_KJ_KEY = "DiaoboKJ";
    public static final String PROCESSS_DIAOBO_KJ_APPROVE_RESULT = "result";
    public static final String PROCESSS_DIAOBO_KJ_QR_USER_KEY = "confirmUser";

    /********************************
     * 安徽农信科技公司的转移流程变量
     ********************************/
    public static final String PROCESSS_ZHUANYI_KJ_KEY = "ZhuanyiKJ";
    public static final String PROCESSS_ZHUANYI_KJ_APPROVE_RESULT = "result";
    public static final String PROCESSS_ZHUANYI_KJ_QR_USER_KEY = "confirmUser";

    /********************************
     * 安徽农信科技公司的领用流程变量
     ********************************/
    public static final String PROCESSS_LINGYONG_KJ_KEY = "LingyongKJ";
    public static final String PROCESSS_DZ_LINGYONG_KJ_KEY = "LingyongDZKJ";
    public static final String PROCESSS_LINGYONG_KJ_APPROVE_RESULT = "result";
    public static final String PROCESSS_LINGYONG_KJ_QR_USER_KEY = "confirmUser";

    /********************************
     * 安徽农信总行的流程变量
     ********************************/
    public static final String PROCESSS_RUKU_KJ_KEY = "RukuKJ";

    public static final String PROCESSS_BAOFEI_SL_KEY = "BaofeiSL";
    public static final String PROCESSS_TUIKU_SL_KEY = "TuikuSL";
    public static final String PROCESSS_WEIXIU_SL_KEY = "WeixiuSL";
    public static final String PROCESSS_ZHUANYI_SL_KEY = "ZhuanyiSL";
    public static final String PROCESSS_DIAOBO_SL_KEY = "DiaoboSL";
    public static final String PROCESSS_PEIFA_SL_KEY = "PeifaSL";
    public static final String PROCESSS_RUKU_SL_KEY = "RukuSL";
    public static final String PROCESSS_PEIFA_XH_SL_KEY = "PeifaXHSL";
    public static final String PROCESSS_LINGYONG_SL_KEY = "LingyongSL";
    public static final String PROCESSS_LINGYONG_XH_SL_KEY = "LingyongXHSL";
    public static final String PROCESSS_JIEYONG_SL_KEY = "JieyongSL";
    public static final String PROCESSS_GUIHUAN_SL_KEY = "GuihuanSL";
    public static final String PROCESSS_RUKU_XH_SL_KEY = "RukuXHSL";
    public static final String PROCESSS_RUKU_FINANCE_SL_KEY = "RukuFinanceSL";

    /** 资产状态 闲置 */
    public static final String ASSET_STATUS_UNUSED = "unused";
    /** 资产状态 正常使用 */
    public static final String ASSET_STATUS_USED = "used";
    /** 资产状态 待报废 */
    public static final String ASSET_STATUS_TOSCRAP = "toScrap";
    /** 资产状态 已报废 */
    public static final String ASSET_STATUS_SCRAP = "scrap";
    /** 资产状态 待维修 */
    public static final String ASSET_STATUS_UNMAINTENANCE = "unmaintenance";
    /** 资产状态 转移中 */
    public static final String ASSET_STATUS_TRANSFER = "transfer";
    /** 资产状态 借用中 */
    public static final String ASSET_STATUS_BORROW = "borrow";
    /** 资产状态 盘点丢失 */
    public static final String ASSET_STATUS_LOSS = "loss";

    /** 生命周期类型 */
    public static final String ASSET_LIFE_TYPE_DAOHU = "物资入库";
    public static final String ASSET_LIFE_TYPE_JIEYONG = "物资借用";
    public static final String ASSET_LIFE_TYPE_LINGYONG = "物资领用";
    public static final String ASSET_LIFE_TYPE_BAOFEI = "物资报废";
    public static final String ASSET_LIFE_TYPE_DIAOBO = "物资调拨";
    public static final String ASSET_LIFE_TYPE_GUIHUAN = "物资归还";
    public static final String ASSET_LIFE_TYPE_PEIFA = "物资配发";
    public static final String ASSET_LIFE_TYPE_TUIKU = "物资退库";
    public static final String ASSET_LIFE_TYPE_ZHUANYI = "物资转移";
    public static final String ASSET_LIFE_TYPE_WEIXIU = "物资维修";
    public static final String ASSET_LIFE_TYPE_JILU = "物资记录";
    public static final String ASSET_LIFE_TYPE_GENGHUAN = "物资更换";
    public static final String ASSET_LIFE_TYPE_TONGBUZONGHANG = "财管资产同步_总行";

    public static final String ASSET_SL_DZ_BIG_TYPE_CODE = "140";
    public static final String ASSET_SL_GD_BIG_TYPE_CODE = "1601";
    public static final String PROCESSS_GENGHUAN_KJ_KEY = "GenghuanKJ";
    public static final String PROCESSS_GENGHUAN_KJ_APPROVE_RESULT = "result";
}
